package com.travel.entity;

import org.springframework.stereotype.Component;

@Component
public class TAttractionsImage   {
  private int aiId;
  private String aiRoute;
  private TAttractions attractions;

  public int getAiId() {
    return aiId;
  }

  public void setAiId(int aiId) {
    this.aiId = aiId;
  }

  public String getAiRoute() {
    return aiRoute;
  }

  public void setAiRoute(String aiRoute) {
    this.aiRoute = aiRoute;
  }

  public TAttractions getAttractions() {
    return attractions;
  }

  public void setAttractions(TAttractions attractions) {
    this.attractions = attractions;
  }

  public TAttractionsImage(int aiId, String aiRoute, TAttractions attractions) {
    this.aiId = aiId;
    this.aiRoute = aiRoute;
    this.attractions = attractions;
  }

  public TAttractionsImage() {
  }

  @Override
  public String toString() {
    return "TAttractionsImage{" +
            "aiId=" + aiId +
            ", aiRoute='" + aiRoute + '\'' +
            ", attractions=" + attractions +
            '}';
  }
}
